package com.qf.ssm.service;

import com.qf.ssm.po.Company;
import com.qf.ssm.qo.*;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.File;
import java.io.IOException;

public interface CompanyService {
   Company login(CompanyLoginQO companyLoginQO,HttpServletRequest request);
   Integer register(CompanyRegisterQO companyRegisterQO, HttpServletRequest request, MultipartFile[] file);
   Integer modifyPassword(CompanyUpdatePasswordQO companyUpdatePasswordQO, HttpServletRequest request);
   Integer modifyPasswordByEmail(CompanyFindPasswordQO companyFindPasswordQO, HttpServletRequest request);
   Company queryCompanyInfo(HttpServletRequest request);
   Integer modifyCompanyInfo(CompanyQO newCompany,HttpServletRequest request);
   File queryCarRentalLicense(HttpServletRequest request, HttpServletResponse response);
   Integer loginOut(HttpServletRequest request);
}
